<?php

namespace backend\models\system;

use Yii;
use backend\models\system\SysConfig;

/**
 * ContactForm is the model behind the contact form.
 */
class DirectSeeding extends SysConfig
{
	public $direct_status;//开启状态
	public $online_num;//同时在线人数上限
    /**
     * @inheritdoc 验证规则
     */
    public function rules()
    {
        return [
            [['direct_status','online_num'], 'required'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'direct_status' => '开启状态',
            'online_num' => '同时在线人数上限',
        ];
    }



}